#include "SList.h"

void test1()
{
	SLTNode* plist = NULL;
	SLTNode* pos = NULL;
	SLTPushBack(&plist, 6);
	SLTPushFront(&plist, 1);
	SLTPushBack(&plist, 3);
	SLTPushFront(&plist, 25);
	SLTPrint(&plist);
	pos = SLTFind(&plist,6);
	SLTEraseAfter(&plist, pos);
	SLTPrint(&plist);
	pos = SLTFind(&plist, 25);
	SLTEraseAfter(&plist, pos);
	pos = SLTFind(&plist, 25);
	SLTEraseAfter(&plist, pos);
	SLTPrint(&plist);
}
int main()
{
	test1();
	return 0;
}